@extends('admin.master')

@section('css')
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <style>

        .file-input {
            margin: 10px 50px;
            position: relative;
            left: 46px;
        }

        .file-caption {
            margin-top: 5px;
            height: 36px;
        }
        .form-inline {
            margin-bottom: 20px;
        }

        .form-inline label {
            font-weight: bold;
            margin-right: 10px;
        }
    </style>
@stop


@section('content')
<form style="width: 50%;" role="form" class="form-horizontal"
      action="{{route('menber.add')}}"
      method="POST" enctype="multipart/form-data">

       <div class="panel panel-default">
        <div class="panel-heading">添加会员</div>
        <div class="panel-body">
            <div class="form-group">
                <label for="cityname" class="col-sm-2 control-label">会员名称</label>
                <div class="col-sm-10">
                <input type="text" name="name" class="form-control" id="cityname" placeholder="">
                </div>
            </div>
            
            <div class="form-group">
                <label for="num" class="col-sm-2 control-label">会员账号</label>
                <div class="col-sm-10">
                <input type="text" name="num" class="form-control" id="num" placeholder="">
                </div>
            </div>
            <div class="form-group">
                <label for="passworld" class="col-sm-2 control-label">会员密码</label>
                <div class="col-sm-10">
                <input type="passworld" name="passworld" class="form-control" id="passworld" placeholder="">
                </div>
            </div>
            <div class="form-group">
                <label for="photo" class="col-sm-2 control-label">头像</label>
                <div class="col-sm-10">
                <input type="file" class=full-left" id="photo" name="images">
                </div>
            </div>
        </div>
    </div>
    <div class="form-grou">
        
        <button class="pull-right" type="submit" cliconk="return check();" class="btn btn-primary">添加</button>
    </div>
</form>
@stop
@section('javascript')
    <script>
        $('document').ready(function () {
            $('.toggleswitch').bootstrapToggle();
        });
    </script>
    
    <script src="/js/tinymce.min.js"></script>
    <script src="/js/voyager_tinymce.js"></script>
@stop
